+2007-07-10 Kristian Rietveld <kris@imendio.com>
+
+ * gtk/gtktooltip.c (find_widget_under_pointer),
+ (child_location_foreach): use gtk_container_forall, instead of
+ gtk_container_foreach(). Makes tooltips on notebook tabs work. (Fixes
+ bug reported by Christian Persch).
+
2007-07-10 Kristian Rietveld <kris@imendio.com>
* gtk/gtktooltip.c (child_location_foreach): ignore invisible
tmp.y = y;
tmp.container = child;
- gtk_container_foreach (GTK_CONTAINER (child),
- child_location_foreach, &tmp);
+ gtk_container_forall (GTK_CONTAINER (child),
+ child_location_foreach, &tmp);
if (tmp.child)
child_loc->child = tmp.child;
child_loc.container = event_widget;
child_loc.child = NULL;
- gtk_container_foreach (GTK_CONTAINER (event_widget),
- child_location_foreach, &child_loc);
+ gtk_container_forall (GTK_CONTAINER (event_widget),
+ child_location_foreach, &child_loc);
if (child_loc.child)
event_widget = child_loc.child;